package deepbrain.simnetwork.structure;

import deepbrain.simnetwork.loader.matrix.GenericMatrixConnectionBuilder;

/**
 * 
 * 
 * @author Li Yang
 * @create 2009-2-25
 */
public class SimpleConnectionBuilder extends
		GenericMatrixConnectionBuilder<Boolean> {

	@Override
	public Connection<Boolean> buildConnection(Boolean weight, int source,
			int destination) {
		if (weight) {
			Connection<Boolean> connection = new Connection<Boolean>(source,
					destination, true);
			return connection;
		}
		return null;
	}

}
